<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/10/22
 * Time: 16:02
 */
namespace Home\Model;
use Common\Library\BusinessException;
use Think\Log;
use Think\Model;
use Common\Library\Constant;
/*渠道管理模型*/
class AdminChannelManageModel extends Model
{

    //获取列表信息
    public function getList($where,$field,$order='add_time desc',$limit){
        if($where){
            return $this->field($field)->where($where)->order($order)->limit($limit)->select();
        }else{
            return false;
        }
    }
}
